]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Remove left-over Gtk.Settings
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 4 Apr 2019 12:29:30 +0000 (14:29 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 11 Apr 2019 17:27:50 +0000 (17:27 +0000)
It has been unused since commit c334aa2a4c.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/481

js/ui/panel.js

index 0f052d3e83b0f8e836b73fdc654a6c9326f33643..36e16d3c228707ee0b9cca6bce6218bb4d18ad24 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
 
-const { Atk, Clutter, Gio, GLib, GObject, Gtk, Meta, Shell, St } = imports.gi;
+const { Atk, Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi;
 const Cairo = imports.cairo;
 const Mainloop = imports.mainloop;
 
@@ -201,7 +201,6 @@ var AppMenuButton = GObject.registerClass({
         this._startingApps = [];
 
         this._menuManager = panel.menuManager;
-        this._gtkSettings = Gtk.Settings.get_default();
         this._targetApp = null;
         this._busyNotifyId = 0;